package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.SubpackCotAttDao;
import top.infopub.model.bpa.SubpackCotAtt;
import top.infopub.mgr.bpa.service.SubpackCotAttService;

@Service
public class SubpackCotAttServiceImpl extends GenericServiceImpl<SubpackCotAtt, String> implements
		SubpackCotAttService {

	@Autowired
	private SubpackCotAttDao subpackCotAttDao;
	
	@Override
	public GenericDao<SubpackCotAtt, String> getDao() {
		return subpackCotAttDao;
	}

    @Override
    public List<SubpackCotAtt> selectBySubpackCotId(String subpackCotId) {
        return subpackCotAttDao.selectBySubpackCotId(subpackCotId);
    }

}